function e(e, r, n) {
  var t = new Image();
  function a() {
    t.removeEventListener("load", a), t.removeEventListener("error", o), n && n(null, t);
  }
  function o() {
    t.removeEventListener("load", a), t.removeEventListener("error", o), n && n(new Error(e));
  }
  return "file:" !== window.location.protocol && (t.crossOrigin = "anonymous"), t.addEventListener("load", a), t.addEventListener("error", o), t.src = e, t;
}
cc.assetManager.downloader.register(".head", function (e, r, n) {
  n(null, e);
}), cc.assetManager.parser.register(".head", e), cc.assetManager.factory.register(".head", function (e, r, n, t) {
  var a = null,
    o = null;
  try {
    (a = new cc.Texture2D())._uuid = e, a._nativeUrl = e, a._nativeAsset = r;
  } catch (e) {
    o = e;
  }
  t && t(o, a);
});